package com.proj.springbootdemo.dao.mapper.gen;

import com.proj.springbootdemo.dao.model.gen.Books;
import com.proj.springbootdemo.dao.model.gen.BooksExample;

import java.util.List;

/**
 * @author liujia
 */
public interface BooksMapper {
    int countByExample(BooksExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Books record);

    int insertSelective(Books record);

    List<Books> selectByExample(BooksExample example);

    Books selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Books record);

    int updateByPrimaryKey(Books record);
}